﻿using System;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;

namespace SharePointListSecurity.Layouts.SharePointListSecurity
{
    public partial class EditViewPermissions : LayoutsPageBase
    {
        protected SPList spList;
        protected string viewName;
        protected void Page_Load(object sender, EventArgs e)
        {
            string[] strLists = Request.QueryString.GetValues("List");
            spList = this.Web.Lists.GetList(new Guid(strLists[0]), true);
            string[] strView = Request.QueryString.GetValues("View");
            viewName = strView[0];
        }
    }
}
